package com.example.mongo.Model.dto;

import lombok.Data;

@Data
public class UserCURD {
    String id;
    String userName;
    Integer isVIP;

    public String choiceMethod(){
        if(""!=id){
            return "id";
        }
        if(""!=userName){
            return "userName";
        }
        if(isVIP>=0){
            return "isVIP";
        }
        return null;
    }


}
